Skip to content

[codex] Allow MongoDB 7 peer dependency#3

Merged
martinj merged 1 commit into
masterfrom
codex/mongodb-7-peer
Jun 16, 2026
Merged

[codex] Allow MongoDB 7 peer dependency#3
martinj merged 1 commit into
masterfrom
codex/mongodb-7-peer

Conversation

@martinj

@martinj martinj commented Jun 16, 2026

Copy link
Copy Markdown

Summary

Widen Monogram's MongoDB peer dependency so downstream projects can install it with MongoDB Node driver 7 while still allowing driver 6.

The dev dependency is also bumped to MongoDB 7 so Monogram's own tests exercise the newer driver surface.

Impact

Consumers upgrading Mongoose 9 or MongoDB driver 7 no longer need npm's legacy peer dependency mode solely because of Monogram's peer range.

Validation

  • MONGO_PORT=27016 npm test

@martinj martinj marked this pull request as ready for review June 16, 2026 12:34
@martinj martinj requested a review from Copilot June 16, 2026 12:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR widens Monogram’s declared MongoDB Node.js driver compatibility to include v7 (while retaining v6 support), and updates the dev dependency so Monogram’s own test runs exercise the v7 driver surface.

Changes:

  • Bump devDependencies.mongodb to ^7.2.0.
  • Widen peerDependencies.mongodb from 6.x to 6.x || 7.x.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
Comment thread package.json
@martinj martinj merged commit 7a76eac into master Jun 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants